package com.xzh.mallorderspi.model.search;

import com.xzh.mallorderspi.model.Order;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Setter
@Getter
public class OrderSeaechBean extends Order {
    private String keyword;//关键字
    private String goodName;//商品名称
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTimeStart;//下单时间开始
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderTimeEnd;//下单时间开始
    private BigDecimal totalPayStart;//支付金额下限
    private BigDecimal totalPayEnd;//支付金额上限


}
